<template>
  <div>
    <el-tabs v-model="activeName" type="card">
      <el-tab-pane label="全部试题" name="all">
        <ExerciseGroupLibTable v-if="activeName === 'all'" ref="draft"/>
      </el-tab-pane>

      <el-tab-pane label="冲突试题" name="conflict">
        <ConflictExerciseGroupLibTable v-if="activeName === 'conflict'" ref="official"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import ExerciseGroupLibTable from "./ExerciseGroupLibTable";
  import ConflictExerciseGroupLibTable from "./ConflictExerciseGroupLibTable";

  export default {
    name: "ExerciseLibIndex",
    components: {
      ConflictExerciseGroupLibTable,
      ExerciseGroupLibTable,
    },
    data() {
      return {
        activeName: 'all',
        isShow:''
      };
    },
    methods: {
    },
    created() {
    }
  }
</script>

<style scoped>

</style>
